package com.huluobo.h3weekdemo.db

import androidx.room.Dao
import androidx.room.Insert
import androidx.room.OnConflictStrategy
import androidx.room.Query
import com.huluobo.h3weekdemo.main.TabBean

/**
 *  Created by LC on 2023/11/1.
 */
@Dao
interface TabDao {
    @Insert(onConflict = OnConflictStrategy.REPLACE)
    fun insertTab(tabEntity: TabBean)

    @Query("select * from tab_info")
    fun queryTabs(): List<TabBean>
}